package com.ruoyi.common.enums;

public enum OrderStatus {
    /**
     * 0未中标1中标2已装货3已卸货4完成5撤销订单6接单中
     */
    LOSEABID("0", "未中标"),
    WINTHEBID("1", "中标"),
    ONBOARD("2", "已装货"),
    DISCHARGED("3", "已卸货"),
    COMPLETE("4", "完成"),
    CANCEL("5", "撤销订单"),
    AWAIT("6", "接单中");

    private final String code;
    private final String info;

    OrderStatus(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }
}
